package com.huluobo.a2204kotlinshopping.otder

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.huluobo.a2204kotlinshopping.R
import com.huluobo.a2204kotlinshopping.databinding.ActivityPaySuccessBinding
import com.huluobo.base.view.BaseMVVMActivity

class PaySuccessActivity : BaseMVVMActivity<ActivityPaySuccessBinding, OrderViewModel>() {
    override fun initData() {
    }

    override fun initView() {
        dataBinding.successGoShopping.setOnClickListener { finish() }
        dataBinding.successBackToOrder.setOnClickListener { finish() }
    }

    override fun getViewModel(): Class<OrderViewModel> {
        return OrderViewModel::class.java
    }

    override fun getLayoutId(): Int = R.layout.activity_pay_success
}